package com.general.message.push.websocket;

import org.springframework.scheduling.annotation.Scheduled;
import org.springframework.stereotype.Component;

@Component
public class PingTask {

    @Scheduled(cron = "0/10 * * * * ?")
    public void ping() {
        WsSupport.ping();
    }

}
